package com.ruoyi.sts.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客流信息同步对象 sts_data_syn
 * 
 * @author ruoyi
 * @date 2025-04-26
 */
public class StsDataSyn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 数据 */
    @Excel(name = "数据")
    private String data;

    /** 是否同步 */
    @Excel(name = "是否同步")
    private String synFlag;

    /** 同步信息 */
    @Excel(name = "同步信息")
    private String synMsg;

    /** 同步次数 */
    @Excel(name = "同步次数")
    private Integer synNum;

    /** 同步时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "同步时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date synTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setData(String data) 
    {
        this.data = data;
    }

    public String getData() 
    {
        return data;
    }

    public void setSynFlag(String synFlag) 
    {
        this.synFlag = synFlag;
    }

    public String getSynFlag() 
    {
        return synFlag;
    }

    public void setSynMsg(String synMsg) 
    {
        this.synMsg = synMsg;
    }

    public String getSynMsg() 
    {
        return synMsg;
    }

    public void setSynNum(Integer synNum)
    {
        this.synNum = synNum;
    }

    public Integer getSynNum()
    {
        return synNum;
    }

    public void setSynTime(Date synTime) 
    {
        this.synTime = synTime;
    }

    public Date getSynTime() 
    {
        return synTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("data", getData())
            .append("synFlag", getSynFlag())
            .append("synMsg", getSynMsg())
            .append("synNum", getSynNum())
            .append("synTime", getSynTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
